package edu.chinasoft.pojo;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public
class People {
    private int id;
    private String name;
    private Log log = LogFactory.getLog( People.class );
    public People() {
    }
    public
    People(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public
    int getId() {
        return id;
    }

    public
    void setId(int id) {
        this.id = id;
    }

    public
    String getName() {
        return name;
    }

    public
    void setName(String name) {
        this.name = name;
    }

    public void
    initPeople() {
    log.info( "People>>>initPeople start……" );
    log.info( "People>>>initPeople end……" );
    }
    public void
    destroyPeople() {
        log.info( "People>>>destroyPeople start……" );
        log.info( "People>>>destroyPeople end……" );
    }
}
